package com.neusoft.bizcore.auth.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.bizcore.auth.model.OAuth2User;

public interface OAuth2UserRepository extends JpaRepository<OAuth2User, Long> {
    OAuth2User findByOauth2UserId(String oauth2UserId);

    OAuth2User findByUser_Username(String username);
}
